<!--{*
 *
 * author : hongdtb
 * create date : 20140106
 * create new block : display all sale product
 *
 *}-->
<div class="bloc_outer_2">
	<div id="ranking_area">
		<h2><img src="<!--{$TPL_URLPATH}-->img/title/red_sale.png" alt="*" class="title_icon" /><span class="title">Khuyến mãi</span></h2>
		<div class="bloc_body">
			<ul>
                            <!--{$i = 0;}-->
                            <!--{if i <= 5}-->
                            <!--{foreach from=$arrSaleProducts item=arrProduct name="recommend_products"}-->
                            <!--{$arrProduct.count|u}-->
				<li>
					<table>
						<tbody>
                                                <!--<!--{$i++}-->-->
                                                
                                                <tr><td colspan="2" class="rank"><div id="rank_<!--{$i}-->"> </div></td></tr>
                                               
						<tr><td colspan="2"><p><a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"><!--{$arrProduct.name|h}--></a></p></td></tr>
						<tr><td colspan="2">
                                                    <div class="image">
                                                    <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->">
                                                            <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->&amp;width=120&amp;height=120" alt="<!--{$arrProduct.name|h}-->" />
                                                    </a>
                                                    </div>
						</td></tr>
						<tr><td colspan="2"><p>&#36;<!--{$arrProduct.price02_min_inctax|number_format}--> VNĐ<br></p></td></tr>
                                                <tr><td colspan="2"><p class="mini comment"><!--{$arrProduct.comment|h|nl2br}--></p></td></tr>
                                            </tbody>
                                       </table>
				</li>
                               <!--{/foreach}-->
                                <!--{/if}-->
			</ul>
		</div>
	</div>
</div>